package com.io;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * The class/interface
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(value = {"com.io.client"})
@ComponentScan({"com.io", "com.io.client"})
public class OrderBase {
    public static void main(String[] args) {
        new SpringApplicationBuilder(OrderBase.class).run(args);
    }
}